package models_live

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

/**
 * @author Aaron
 * @description 直播分类一级分类
 * @date 14:17 2022/5/13
 **/
type LiveCategoryTop struct {
	Id         int `gorm:"primaryKey;autoIncrement"`
	Title      string
	Icon       string
	SecondIcon string
	Sort       int
	Status     int
}

func (LiveCategoryTop) TableName() string {
	return fmt.Sprintf("%slive_category_top", models.Prefix)
}
